package com.java2207.group1.mapper;

import com.java2207.group1.pojo.Occupancy;
import com.java2207.group1.vo.occupancy.BerVo;
import com.java2207.group1.vo.occupancy.PieVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 15319 2022/7/27 14:21
 */
public interface OccupancyMapper {


    List<Occupancy> occupancyPage(Map<String, Object> params);

    int occupancyUpdate(Occupancy occupancy);

    int occupancyDelete(Integer id);

    int occupancyAdd(Occupancy occupancy);

    int occupancyDeleteByIds(@Param("ids") String[] ids);

    List<BerVo> setBarDate();

    List<PieVo> setPieDate();
}
